package com.example.dziennikposilkow;

import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class Posilek8 extends DziennikMainActivity {
	
	 @Override
	    public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
	        setContentView(R.layout.activity_posilek8);
	    
	 
	        final Button button_raporty = (Button) findViewById(R.id.buttonRaportyPosilek8);
	     			button_raporty.setOnClickListener(new View.OnClickListener() {
	     				public void onClick(View v) {

	     					Intent intent = new Intent(Posilek8.this, Raporty.class);
	     					startActivity(intent);
	     				}
	     				
	     			});
		
	 }

}